<template>
  <view class="coupon-empty">
    <image :src="ossImg('personal/none_coupon.png')" />
    {{ `没有${tabsLabel}的优惠券` }}
  </view>
</template>

<script setup>
import { ossImg } from "@/utils/utils";
import { defineProps } from "vue";

const props = defineProps({
  tabsLabel: {
    type: String,
    default: () => "未使用",
  },
});
</script>

<style lang="less" scoped>
.coupon-empty {
  line-height: 1;
  font-size: 14px;
  color: #919191;
  padding: 86px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;

  image {
    width: 53px;
    height: 59px;
    display: block;
    margin-bottom: 10px;
  }
}
</style>
